Check User Existence In LDAP

Check User Existence In LDAP using LDAP connector.

Prerequisite:

To use the LDAP Connector, you must have the following:

  • Access to either an OpenLDAP, Apache Directory, or MicroSoft Active Directory Instance.
  • Anypoint Studio version 7.0 (or higher) or Anypoint Design Center.

To use the LDAP Connector in a production environment, you must have either:

  • An Enterprise license to use Mule.
  • A CloudHub Starter, Professional, or Enterprise account.

Below operation is present to check entry in Ldap

Exists: Checks whether an LDAP entry exists in the LDAP server or not, it returns Boolean value as true or false

 

Ldap Exists

Create sample project in anypoint studio and add listener to trigger the flow

Drag and drop LDAP exists operation from mule palette if you can not find LDAP operation in mule palette please add LDAP module using Exchange or visit this url for more information

Provide the Connection Details as given below and pass the DN value for the LDAP entry

 

LDAP connection details

 

Deploy the project and trigger from soapui

As we can see entry is present in LDAP

 

Trigger the project from soapui, we can see true value is returned

 

Sample application: checkuserinldap sample application

Soapui project: ExistUser-soapui-project.xml

 

  
Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
 
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.


Share this:
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments